AN02019: Using Device Firmware Upgrade (DFU) in USB Audio

FAVOURITE VERSION RELEASED COMMENTS DOCUMENTATION SOFTWARE
1.0.1 2026-05-12 v1.0.1 has limited changes in dependencies and in the doc to reflect the changes with lib_dfu being where lib_xua gets DFU functionality VIEW HTML VIEW PDF ZIP
View older versions
1.0.0 2024-12-16 ZIP ZIP
INFO

Summary

This application note describes the Device Firmware Upgrade (DFU) process for a XMOS USB Audio reference applications.

The DFU implementation in these applications is compliant with version 1.1 of the Universal Serial Bus Device Class Specification for Device Firmware Upgrade.

The information in this note relates to all applications in the USB Audio reference design download (sw_usb_audio). However, for convenience and demonstration, this note also includes a DFU capable USB audio applications for the XK-AUDIO-316-MC board.

On building, two applications binaries are produced: A factory image that the device should be flashed with initially and an upgrade image that is used for demonstrating the DFU operation. The factory and upgrade images differ in their bcdDevice version. This allows the user to quickly verify the success of the upgrade process by checking the bcdVersion number of the device enumerated post upgrade.

Features

  • Description of preparing factory and upgrade images

  • Description of DFU via:
    • Thesycon TL-USBDFU

    • A small custom DFU codebase (xmosdfu)

    • dfu-util

Known issues

  • None

Required tools

  • XMOS XTC Tools: 15.3.0

Required libraries (dependencies)

Scroll to Top
Secret Link